package cn.wolfcode.service;

import cn.wolfcode.domain.SystemDictionary;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryService {
    /**
     * 字典目录增加
     * @param record 字典目录对象
     * @return
     */
    int insertSystemDictionary(SystemDictionary record);

    /**
     * 删除单个字典目录
     * @param id
     * @return
     */
    int deleteSystemDictionary(Long id);

    /*
    * 更新字典目录信息
    * */
    int updateSystemDictionary(SystemDictionary record);

    /**
     * 查询单个字典目录信息
     * @param id
     * @return
     */
    SystemDictionary selectSystemDictionary(Long id);

    /*
    * 查询所有字典目录信息
    * */
    List<SystemDictionary> selectSystemDictionaryList();

    /*
    * 分页查询
    * */
    PageInfo<SystemDictionary> query(QueryObject qo);
}
